package com.pro.service;/*
    ClassName:LoginService
    Package:com.pro.service
    Description:登录servie
    @Date:2021/11/5 14:29
    @Author: 赵自强
*/


import com.pro.entity.LoginRecord;
import com.pro.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface LoginService {

    //Login  赵自强 21/11/5
    User login(String account, String password);
    //添加登录日志 赵自强 21/11/7
    Boolean addLoginRecord(LoginRecord loginRecord);
    //judgeEnabled 判断账号状态 赵自强 21/12/21
    User judgeEnabled(String account);

    User getUser(String account);
}
